/* 公共样式 */

.body {
    font-size: 12px;
    color: #333;
    min-width: 1206px;
}

.container {
    width: 1206px;
    margin: 0 auto;
}


/* 顶部代码 */

.page-top {
    height: 38px;
    background-color: #323232;
}

.page-top .top-lt {
    color: #a2a2a2;
    line-height: 38px;
    float: left;
}

.page-top .top-lt a {
    color: #a2a2a2;
    display: inline-block;
}

.page-top .top-lt a:hover {
    color: #fff;
}

.page-top .top-lt span {
    color: #3f3f3f;
    padding: 0 3px;
}

.page-top .top-lt .download {
    position: relative;
}

.page-top .top-lt .down-box {
    width: 126px;
    /* height: 170px; */
    background-color: #fff;
    position: absolute;
    left: 50%;
    margin-left: -63px;
    top: 38px;
    box-shadow: rgb(170, 170, 170) 0px 1px 5px;
    /* 居中 */
    text-align: center;
    /* 隐藏 */
    display: none;
    z-index: 100;
}

.page-top .top-lt .down-box img {
    width: 88px;
    height: 88px;
    display: block;
    margin: 10px auto;
}

.page-top .top-lt a.download i {
    font-style: normal;
    color: #323232;
    font-size: 14px;
}

.page-top .top-lt a.download:hover .down-box {
    /* 显示 */
    display: block;
    /* transform: translate(200px); */
}

.page-top .top-lt a.download:hover i {
    color: #323232;
}

.page-top .top-gt {
    float: right;
    /* width: 300px; */
}

.page-top .top-gt .login {
    color: #a2a2a2;
    line-height: 38px;
    float: right;
    margin-right: 20px;
}

.page-top .top-gt .login span {
    color: #3f3f3f;
    padding: 0 3px;
}

.page-top .userinfo {
    float: right;
    margin-right: 20px;
}

.page-top .userinfo .link {
    line-height: 38px;
    color: #a2a2a2;
}

.page-top .userinfo span {
    padding: 0 3px;
    color: #3f3f3f;
}

.page-top .userinfo .user {
    width: 120px;
    display: inline-block;
    position: relative;
    /* color: #323232; */
}

.page-top .userinfo .user .tit {
    line-height: 38px;
    text-align: center;
    display: block;
    color: #a2a2a2;
    position: relative;
    z-index: 5;
}

.page-top .userinfo .user ul {
    /* 隐藏 */
    display: none;
    position: absolute;
    left: 0;
    top: 38px;
    width: 120px;
    /* background-color: rgb(163, 163, 163); */
    padding: 10px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.page-top .userinfo li {
    line-height: 30px;
    text-align: center;
}

.page-top .userinfo li a {
    display: block;
}

.page-top .userinfo li:hover {
    /* background-color: #f5f5f5; */
    color: #ff6700;
}

.page-top .userinfo .user:hover {
    background-color: rgb(255, 255, 255);
}

.page-top .userinfo .user:hover .tit {
    color: #ff6700;
}

.page-top .userinfo .user:hover ul {
    display: block;
}

.page-top .userinfo .user ul {
    background-color: #fff;
    z-index: 200;
}

.page-top .userinfo .user ul li a {
    color: #000;
}

.page-top .userinfo .user ul li a:hover {
    color: #ff6700;
}


/* 购物车 */

.page-top .top-gt .car-box {
    float: right;
    position: relative;
}

.page-top .car-box .tit {
    display: block;
    width: 118px;
    height: 38px;
    text-align: center;
    line-height: 38px;
    color: #a2a2a2;
    background-color: #424242;
    position: relative;
    z-index: 100;
    transition: all .2s linear;
}

.page-top .car-box .pop {
    width: 316px;
    position: absolute;
    top: 38px;
    right: 0;
    /* 阴影 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    /* 隐藏 */
    display: none;
    z-index: 1000;
    transition: all .2s linear;
}

.page-top .car-box .pop .no-good {
    text-align: center;
    color: #000;
    font-size: 13px;
    padding: 40px 0;
}

.page-top .pop .list {
    /* border: 1px solid pink; */
    padding: 0 20px;
    margin-top: 15px;
    /* color: #000; */
    /* 最大长度 */
    max-height: 450px;
    /* 溢出隐藏 滚动条 */
    overflow-y: scroll;
    background-color: #fff;
}

.page-top .pop .list li {
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
    overflow: hidden;
}


/* 取消最后一个下边框 */

.page-top .pop .list li:last-child {
    border: none;
}

.page-top .pop .list .pic {
    float: left;
}

.page-top .pop .list img {
    width: 70px;
    height: 70px;
}

.page-top .car-box:hover .tit {
    background-color: #fff;
    color: #ff6700;
}

.page-top .car-box:hover .pop {
    display: block;
    /* transform: translate3d(0, -2px, 0); */
}

.page-top .pop .list .txt {
    width: 120px;
    float: left;
    line-height: 70px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-top .pop .list .txt:hover {
    color: #ff6700;
}

.page-top .pop .list .price {
    float: right;
}

.page-top .pop .list h4 {
    margin-top: 12px;
    font-weight: normal;
    font-size: 12px;
    margin-bottom: 10px;
}

.page-top .pop .list .num i {
    font-style: normal;
    cursor: pointer;
    color: #aaa;
}

.page-top .pop .list .num i:hover {
    color: #333;
}

.page-top .pop .total {
    background-color: #fafafa;
    padding: 15px 10px;
    overflow: hidden;
}

.page-top .pop .total .price {
    float: left;
}

.page-top .pop .total .price p {
    color: #717171;
}

.page-top .pop .total .price h3 {
    font-size: 20px;
    color: #ff6700;
    font-weight: normal;
    margin-top: 5px;
}

.page-top .pop .total .bth {
    width: 132px;
    height: 40px;
    background-color: #ff6700;
    color: #fff;
    text-align: center;
    line-height: 40px;
    float: right;
    display: block;
    margin-top: 10px;
}


/* 导航样式 */

.page-nav {
    height: 96px;
    /* background-color: #eee; */
    position: relative;
}

.page-nav .logo {
    display: block;
    float: left;
    width: 54px;
    height: 54px;
    margin-top: 21px;
    /* background-color: #ff6700; */
    /* 小米logo */
    /* background: url(/img/logo-mi2.png) center center no-repeat; */
    margin-right: 45px;
}

.page-nav .logo img {
    width: 100%;
}

.page-nav .nav .nav-item {
    margin-left: 16px;
    float: left;
    /* margin-top: 24px; */
    line-height: 70px;
    padding: 12px 2px 0;
    height: 84px;
    /* border: 1px solid #ff6700; */
}

.page-nav .nav .nav-item .tit {
    font-size: 16px;
    color: #666;
}

.page-nav .nav .nav-item:hover .tit {
    color: #ff6700;
}

.page-nav .nav-item .pop {
    position: absolute;
    width: 100%;
    height: 230px;
    background-color: #fff;
    left: 0;
    top: 96px;
    box-shadow: 0 3px 4px rgb(0 0 0 / 18%);
    border-top: 1px solid #e0e0e0;
    z-index: 100;
    /* 隐藏 */
    display: none;
    /* 变小手 */
    cursor: pointer;
}


/* .page-nav .down-ul {
    overflow: hidden;
} */

.page-nav .down-li {
    width: 201px;
    float: left;
    padding-top: 30px;
    text-align: center;
    position: relative;
}

.page-nav .down-li .pic img {
    width: 160px;
    height: 110px;
    /* display: block;
    margin: 0 auto; */
}

.page-nav .down-li .name {
    font-weight: normal;
    font-size: 13px;
    margin-top: 20px;
}

.page-nav .down-li .price {
    color: #ff6700;
    margin-top: 5px;
}

.page-nav .down-li .tags {
    width: 66px;
    height: 20px;
    border: #ff6700 1px solid;
    text-align: center;
    line-height: 20px;
    position: absolute;
    left: 50%;
    margin-left: -32px;
    top: -1px;
    color: #ff6700;
    z-index: 100;
}

.page-nav .down-li i {
    background-color: #e0e0e0;
    width: 1px;
    height: 100px;
    position: absolute;
    right: 0;
    top: 36px;
}

.page-nav .nav .nav-item:hover .pop {
    display: block;
}


/* 全部分类菜单样式 */

#page-all-nav {
    position: relative;
    /* 元素不可见 */
    visibility: hidden;
}

.slider-nav {
    position: absolute;
    width: 232px;
    height: 420px;
    border: #ff6700 1px solid;
    background-color: #fff;
    right: -18px;
    top: 96px;
    z-index: 100;
}

.slider-nav .slider-li {
    line-height: 42px;
}

.slider-nav .slider-li .name {
    font-size: 14px;
    display: block;
    padding: 0 24px 0 30px;
    transition: all .2s linear;
}

.slider-nav .slider-li .name span {
    margin-right: 5px;
    /* color: black; */
}

.slider-nav .slider-li i {
    float: right;
}

.slider-nav .slider-li:hover .name {
    background-color: #ff6700;
    /* color: #fff; */
}

.slider-nav .slider-li:hover span {
    color: #fff;
}

.slider-nav .slider-pop {
    position: absolute;
    width: 974px;
    height: 420px;
    /*  */
    border-left: none;
    border: #e0e0e0 1px solid;
    background-color: #fff;
    left: 234px;
    top: 0px;
    box-shadow: 0 8px 16px rgb(0 0 0 / 18%);
    /* 隐藏 */
    display: none;
    z-index: 200;
}

.slider-nav .pop-li {
    float: left;
    width: 219px;
    padding-left: 24px;
    overflow: hidden;
    height: 56px;
    color: #333;
    /* background-color: pink; */
    margin-bottom: 10px;
    padding-top: 20px;
}

.slider-nav .pop-li img {
    width: 40px;
    height: 40px;
    float: left;
    margin-left: 16px;
}

.slider-nav .pop-li:hover p {
    color: #ff6700;
}

.slider-nav .slider-li:hover .slider-pop {
    display: block;
}


/* 搜索框 */

.page-nav .search {
    float: right;
    position: relative;
    margin-top: 24px;
}


/* .page-nav .search .form:hover input {
    border: 1px #eee solid;
} */

.page-nav .search:hover .hot {
    display: block;
}

.page-nav .search .q {
    width: 245px;
    height: 48px;
    border: 1px solid #e0e0e0;
    border-right: none;
    outline: none;
    line-height: 48px;
    padding-left: 4px;
    float: left;
    transition: all .2s linear;
}

.page-nav .search .tags {
    position: absolute;
    top: 17px;
    right: 58px;
    width: 130px;
    text-align: right;
}

.page-nav .search .tags span {
    line-height: 18px;
    padding: 0 5px;
    font-size: 12px;
    background-color: #eee;
    cursor: pointer;
}

.page-nav .search .tags span:hover {
    background-color: #ff6700;
    color: #fff;
}

.page-nav .search ul {
    position: absolute;
    top: 50px;
}

.page-nav .search .btn {
    width: 50px;
    height: 50px;
    border: 1px solid #e0e0e0;
    /* border-left: none; * /
    /* 变小手 */
    cursor: pointer;
    float: left;
    background-color: #fff;
    transition: all .2s linear;
}

.page-nav .search .btn:hover {
    background-color: #ff6700;
    border: 1px solid #ff6700;
    color: #fff;
}

.search:hover .q,
.search:hover .btn {
    border-color: #b0b0b0;
}

.search.active:hover .q,
.search.active:hover .btn {
    border-color: #ff6700;
}

.search .hot {
    width: 249px;
    /* border: #ff6700 1px solid; */
    background-color: #fff;
    border-top: none;
    /* 隐藏 */
    display: none;
    z-index: 2000;
    /* transition: all .2s linear; */
}

.search .hot li {
    padding: 0 15px;
    height: 30px;
    line-height: 30px;
}

.search .hot li a {
    margin-left: 10px;
}

.search .hot li:hover {
    background-color: #eee;
}

.search .hot li a:hover {
    color: #a2a2a2;
}

.search .hot li a span {
    float: left;
    color: #666;
}

.search .hot li a i {
    float: right;
}